home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 2000 December / Disc 1 / APCCD01200.ISO / workshop / linux / files / lnx-gold.iso / tomrbt / tomsrtbt.FAQ < prev    next >
Encoding:
Text File  |  1999-10-18  |  11.6 KB  |  346 lines

  1. Contents:
  2.  
  3. 1) tomsrtbt is
  4. 2) Design goals
  5. 3) Contents
  6. 4) Linux installation
  7. 5) DOS installation
  8. 6) Customizing
  9. 7) Support
  10. 8) Tips
  11. 9) Copyright
  12. 10) ChangeLog
  13. 11) ToDo
  14.  
  15.  
  16. 1) tomsrtbt is
  17.  
  18.     "The most Linux on one floppy disk" for:
  19.  
  20.         rescue recovery panic & emergencies
  21.  
  22.         tools to keep in your shirt pockets
  23.  
  24.         whenever you can't use a hard drive
  25.  
  26.  
  27. 2) Design goals
  28.  
  29.     as much stuff as possible on 1 floppy disk
  30.  
  31.     keep it self contained, build under itself
  32.  
  33.     try to make it behave like a normal system
  34.  
  35.     rescue and recovery functions get priority
  36.  
  37.  
  38. 3) Contents
  39.  
  40.  Stuff (modules, manpages, scripts, binaries, kernel):
  41.  
  42. 2.0.37 3c589_cs BusLogic CVF DEC_ELCP EEXPRESS EEXPRESS_PRO EL2 EL3
  43. EXT2 FAT FAT32 FD IDE IDECD IDEFLOPPY IDEPCMCIA IDETAPE ISO9660 JOLIET
  44. LOOP MATH_EMULATION MINIX MSDOS NE2000 NFS PROC RAM SD SERIAL SLIP SMC
  45. SR ST TR ULTRA VFAT VORTEX WD80x3 ah152x_cs aha152x aha1542 aic7xxx
  46. ash awk badblocks bdflush bzip2 cardbus cardmgr cat ce ce.help chattr
  47. chgrp chmod chown chroot clear cmp cp cpio cut date dd ddate debugfs
  48. df dirname dmesg dmsdos ds du dumpe2fs dutil e2fsck eata echo egrep
  49. elvis emacs extend false fdflush fdformat fdisk fdomain filesize find
  50. findsuper fmt fsck.ext2 fsck.msdos fstab grep gzip halt head hexedit
  51. hostname i82365 ifconfig ifport ile init inittab insmod kill killall5
  52. ksyms length less libc.so.5.4.13 lilo lilo.conf ln loadkeys login
  53. losetup ls lsattr mawk memtest mingetty miterm mkdir mkdosfs mke2fs
  54. mkfifo mkfs.minix mklost+found mknod mkswap mnsed more mount mt mv nc
  55. ncr53c8xx nmclan_cs ntfs pax pcmcia pcmcia_core pcnet_cs ping plip ppa
  56. printf ps pwd qlogic_cs qlogicfas reboot rescuept reset rm rmdir rmmod
  57. route rsh rshd script scsi_info seagate sed serial_cs setserial sh
  58. slattach sleep slip snarf sort split stty swapoff swapon sync tail tar
  59. tcic tee telnet test touch tune2fs umount undeb update vi vi.help wc
  60.  
  61.  Linux package
  62.  
  63. buildit.s        build
  64. clone.s            duplicate
  65. fdflush            flush floppy cache
  66. fdformat        format floppy 1.7M
  67. install.s        install
  68. settings.s        used by build
  69. tomsrtbt.FAQ        documentation
  70. tomsrtbt.raw        <== This is it
  71. unpack.s        unpack
  72.  
  73.  DOS package
  74.  
  75. initrd.img        installer image
  76. install.bat        install it
  77. loadlin.exe        starts linux from DOS
  78. tomsrtbt.FAQ        documentation
  79. zimage            installer kernel
  80.  
  81.  
  82. 4) Linux installation
  83.  
  84. a) extract the .tar.gz archive
  85. b) Be root
  86. c) Be in the tomsrtbt-<version> directory
  87. d) Have a blank floppy with no bad sectors
  88. e) Do './install.s'
  89.  
  90. The script assumes you have ELF and that your 3.5" 1.44M floppy is on fd0.
  91.  
  92. Virtually all 1.44 drives support 1.722 just fine, but it is possible for
  93. an extended format to break a floppy drive, use tomsrtbt at your own risk.
  94. The install does mknod to make /dev/fd0u1722 if you don't have it already.
  95.  
  96. If you use libc.so.6 / glibc, you might need something like:
  97.  LD_LIBRARY_PATH=/usr/i486-linux-libc5/lib; ./fdformat /dev/fd0u1722
  98.  
  99. Umount any mounted floppies before installing.
  100.  
  101.  
  102. 5) DOS installation
  103.  
  104. a) Pkunzip it
  105.  
  106. b) If you are running Windows-95, do "shutdown and restart in msdos mode".
  107.    You have to be in really-DOS mode.  Not a DOS session under Windows-95.
  108.  
  109. c) CD to the directory you pkunzipped it into.
  110.  
  111. d) "install".
  112.    (This boots a Linux with prompts to make the diskette.)
  113.  
  114. This is for installing tomsrtbt when you don't already have Linux.
  115.  
  116. If you have tomsrtbt on a floppy, don't use this, and if
  117. you already have Linux, don't use this, use the .tar.gz.
  118. If you have problems boot with no config.sys or autoexec.bat.
  119.  
  120.  
  121. 6) Customizing
  122.  
  123. If you have problems, try doing it under tomsrtbt instead
  124. of on your own system. I test and support it under itself!
  125.  
  126. To customize startup, edit settings.s and rc.custom.gz on the floppy.
  127. Of course you have to "gzip -d" rc.custom.gz to edit it.
  128. Use /dev/fd0u1722 to mount it, /dev/fd0 or /dev/fd0H1440 will not work.
  129. Typical uses: insmod, ifconfig, route, resolv.conf, hosts, mount, etc.
  130.  
  131. For full customization, such as, anything,
  132.  
  133.     (Be logged somewhere with 10+ meg of linux filesystem space)
  134.  
  135.     unpack.s         # unbuilds it into <name>.unpacked
  136.                 # do what thou wilt
  137.     2/usr/doc/buildit.s    # rebuilds out of 1, 2 directories
  138.  
  139. There is lots of room, delete useless stuff like dmsdos and ce.
  140.  
  141. NOTE:    You need space to DO the customizations. Rc.custom.gz can be
  142.     unpacked into /tmp, edited, gzipped, copied back. Buildit.s
  143.     needs drive space. If you only have FAT, use the loop device.
  144.  
  145. When customizing, edit the settings.s under "1/", not other copies.
  146.  
  147.  
  148. 7) Support
  149.  
  150.     Start at the homepage at http://www.toms.net/rb/
  151.  
  152.     My email address is Tom@Toms.NET
  153.  
  154.     I am not a Unix teacher, questions should be tomsrtbt-specific.
  155.  
  156.     Tell me what problems you have and what you would like added.
  157.  
  158.  
  159. 8) Tips
  160.  
  161. 'Login as root' means the USER ID is "root"!  I thought it was obvious...
  162.  
  163. Use "man command" if a command acts strangely
  164.  
  165. "snarf" does ftp, gopher, http, & finger
  166.  
  167. / is full. /usr is full. /tmp has room.
  168.  
  169. tar and cpio are 'pax' and differ from gnu-tar and gnu-cpio.
  170.  
  171. Instead of:
  172.         tar -xvzf /dev/st0
  173. Use this:
  174.         gzip -d < /dev/st0 | tar -xvf -
  175.  
  176. To run programs from your hard drive:
  177.  
  178.     -ELF libc5 stuff should all work.
  179.  
  180.     -For glibc6 programs, something like:
  181.  
  182.         "chroot <mounted glibc filesystem> /bin/bash"
  183.  
  184.         (or, links for ld-linux and ldconfig and cetera...)
  185.  
  186. The lilo version run *must match* the boot.b version it runs against.
  187. A common solution is to do something like:  "chroot /mnt /sbin/lilo".
  188. Mount the floppy if you need a boot.b and zImage; chain.b is in /etc.
  189.  
  190. Command history is via ile from /bin/login, see "man ile" and /bin/login.
  191.  
  192. You must use insmod for:
  193.  BusLogic aha152x aha1542 aic7xxx dmsdos eata fdomain
  194.  ncr53c8xx ntfs plip ppa qlogicfas seagate
  195.  
  196. Adaptec 2940 etc. is aic7xxx
  197.  
  198. If something is missing, look in http://www.toms.net/rb/add-ons/.
  199.  
  200. Try "pcmcia start". If you add pcmcia modules, fix /etc/pcmcia/config also.
  201.  
  202. wc login man shutdown ps split telnet tee & head are scripts or awks.
  203.  
  204. edit rc.custom.gz to enable rshd or dialin or 'telnetd'.
  205.  
  206. For the fake telnetd, use 'mode character' and 'set binary'
  207.  
  208. If you need to not be root, use a suid shell.  Login won't do it.
  209.  
  210. Instead of rdev use lilo, for examples see the mailing list archive.
  211.  
  212. To copy between 2 tomsrtbt systems, use something like:
  213.  
  214.  find <path> | cpio -o | rsh <system> cd <path> ";" cpio -iumd
  215.  
  216. I have never used "Red Hat", please do not ask me questions about it.
  217. Ditto:  "Mandrake", "SuSE", "DebIan".
  218.  
  219. At this point, tomsrtbt requires about 8meg to boot.
  220.  
  221.  
  222. 9) Copyright
  223.  
  224. Almost the only originality is arrangement, construction, and scripts.
  225.  
  226. I did write 'tomshexd' from scratch.
  227.  
  228. It is all on sunsite.unc.edu, tsx-11.mit.edu, ftp.debian.org, or ftp.lth.se.
  229.  
  230. I changed:
  231.  mnsed fixing 'l'
  232.  snarf adding ftp USER and PASS via getenv
  233.  busybox taking out applets
  234.  ile fixing tty bugs
  235.  dd adding lseek for BLK, progress indicator, no conv
  236.  
  237. The .diffs are in http://www.toms.net/rb/add-ons/*.diff.bz2
  238.  
  239. 'miterm' is thanks to Robert de Bath, rdebath@poboxes.com
  240.  
  241. *******************************************************************************
  242. * If you base something on it, use any of the scripts, distribute binaries or *
  243. * libraries from it, or distribute customized versions of it: You must credit *
  244. * tomsrtbt and include a pointer to http://www.toms.net/rb/ and tom@toms.net, *
  245. * and include this notice verbatim. Copyright Tom Oehser 1999. This notice in *
  246. * no way supercedes or nullifies any other protections on the component parts *
  247. * such as the BSD and GPL copyrights which apply to practically everything!!! *
  248. * Within these strictures you may redistribute, incorporate, copy, modify, or *
  249. * do anything else to it or with it that you like. Tomsrtbt has no warranties *
  250. * not even implied fitness or usefulness.  If it breaks you keep both pieces. *
  251. *******************************************************************************
  252.  
  253.  
  254. 10) ChangeLog
  255.  
  256. 1.6.70   add ile shell command history
  257. 1.6.151  script fixes, wc tee dirname -> awk
  258. 1.6.165  rep gnu fmt w/ elvis' fmt
  259. 1.6.167  rm mkdmsdosfs fsck, add ntfs.o, head -> awk
  260. 1.6.193  cut -> awk
  261. 1.6.200  rm smc-ultra32
  262. 1.6.225  script and settings changes, enhance telnet, remove rlogin
  263. 1.6.249  add tulip
  264. 1.6.268  grep -> awk, add 3c59x
  265. 1.6.275  superformat -> fdformat, util2.8, prompt for keytable,
  266.          add BusLogic.o (no FlashPoint...), IDEPCMCIA.
  267. 1.6.335  fix cpio bugs, BSD mt-st -> gnu-mt, 2.4.2-20 (debian)
  268. 1.6.336  fix ile tty handling
  269. 1.6.346  pcmcia-3.05, del aha152x_cs, add cardbus
  270. 1.6.358  fix ile high-bit char handling
  271. 1.6.362  tcic_opts fix, DOS installer fix
  272. 1.6.370  replace cpio with pax/tar/cpio
  273. 1.6.375  fix fake telnetd
  274. 1.7.0    kernel 2.0.36
  275. 1.7.14   customize dd, cd func PS1, more.help, docs, pax 2.(>1)
  276. 1.7.29   many pax, tar, cpio fixes
  277. 1.7.30   add hexedit, add split
  278. 1.7.40   add aha152x_cs, trim elvis
  279. 1.7.52   BusLogic, seagate -> modules, bzImage -> zImage
  280. 1.7.75   trim libc, 26 sectors free! bugfixes
  281. 1.7.88   add setserial, play with inode calculations
  282. 1.7.90   make scsi modules, make network builtin 
  283. 1.7.95   plip has to be module, script fixes
  284. 1.7.100  add real dhcpcd NOTE: this is temporary, I will replace this with a
  285.          faked or reduced dhcp and this will go away!  But why not put it on
  286.          there for now since I have the space...
  287. 1.7.102  new mkdosfs
  288. 1.7.104  minor fixes
  289. 1.7.115  rows/columns fix
  290. 1.7.119  fix pax buildit.s unpack.s pty devs; del ibmtr symlks; 2.0.36>zImage
  291. 1.7.135  kernel 2.0.37, random urandom & sr1, fix pax bug
  292. 1.7.143  sstrip ELF files, add fixdisktable and findsuper
  293. 1.7.183  patch kernel for sparse-superblock ext2fs, move stuff from /bin to
  294.          /usr/bin, tweak ash pwd, minor script fixes, add debian unpacker
  295.  
  296. 11) ToDo
  297.  
  298. Com     TypEffPriDes
  299. ash      b  h  4 echo won't allow both -e AND -n
  300. ash      b  h  6 bizarre 'read' bug
  301. ash      b  l  6 manpage omits $$, $_, etc.
  302. ash      b  h  7 fix or doc builtin "test" bug
  303. awks     e  m  5 clean up, do more..
  304. awks     e  m  5 write 'strings' in awk
  305. busybox  b  m  4 fix monadic to handle -fr
  306. busybox  b  m  4 fix chmod -R not to give up on failure
  307. busybox  b  m  2 kill doesn't support named signals
  308. busybox  e  h  4 hack in more stuff, revamp and redo
  309. busybox  e  h  7 new version?
  310. crtn.o   b  h  5 ?4-K overhead from for every program?
  311. crunch   e  h  5 BSD program that auto-combines binaries?
  312. cut      b  m  4 fix -b, -c N-..
  313. dhcpd    e  h  2 make a really small one
  314. doc      b  l  5 update manpage for (gnucpio)mt
  315. doc      e  m  6 busybox man pages
  316. doc      e  m  2 faq>/,.s>bin,settings>etc
  317. floppy   e  h  8 mess with higher formats like 1840?
  318. generic- e  m  8 which one?
  319. hexedit  e  m  4 wrapper for diskediting
  320. insmod   b  h  9 newer version failed?
  321. isapnp   e  h  4 no
  322. kbd      e  m  4 make keymaps with only changes
  323. libc     e  h  9 convert to glibc6
  324. lrp      e  m  4 crib from
  325. md       e  m  8 check size, need
  326. more     b  h  2 fix console bug, smooth scroll backwards
  327. mount    e  l  3 update man pages
  328. mount    b  h  6 -O2 breaks '-t nfs', -O1 works, why?
  329. ntfs     e  m  4 newer version
  330. passwd   e  m  2 crypt in awk, better fake login
  331. pax      e  h  3 enhance to do gnu-tar and gnu-cpio opts
  332. pax      e  h  3 try to break, build verification suite.
  333. pax      e  h  3 add support for SVR4 formats
  334. pcmcia   e  m  5 cleanup, docs, trim, test
  335. smbfs    e  m  7 check size
  336. sort     e  m  4 remove or replace with an awk
  337. startup  e  h  2 test initrd, root.gz->minixfs ideas
  338. xtea     e  m  2 do this
  339. telnet   e  m  5 improve
  340. telnetd  e  m  5 improve
  341. termcap  e  l  4 man page w/ setterm fake shortcuts i.e. ^V^[[?5h
  342. termcap  b  h  7 rebuild lib
  343. trinux   e  m  4 crib from
  344. wget     e  m  3 compare to snarf
  345.  
  346.